package com.story.common.persistence.model;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;

import java.io.Serializable;
import java.util.Date;

/**
 * @author Administrator
 * @decription
 * @Date 2018-05-11 9:57
 */
@TableName(value = "use_app")
public class UseApp extends Model<UseApp>{

    private static final long serialVersionUID = 1L;

    private Integer id;

    private Date day;

    private Integer count;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Date getDay() {
        return day;
    }

    public void setDay(Date day) {
        this.day = day;
    }

    public Integer getCount() {
        return count;
    }

    public void setCount(Integer count) {
        this.count = count;
    }

    @Override
    public String toString() {
        return "UseApp{" +
                "id=" + id +
                ", day=" + day +
                ", count=" + count +
                '}';
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }
}
